public class ArriveToOffice extends Event
{	
	
	//MUST HAVE THE HIGHEST PRIORITY
	public ArriveToOffice(Time eventTime, Employee member)
	{
		super(eventTime, member);
		priority = 10;
	}

	@Override
	public void run()
	{
		Employee employee = (Employee) Thread.currentThread();
		employee.arriveToOffice();
	}

	@Override
	public String toString()
	{
		return "arrived to office";
	}

}
